﻿
namespace Ku.Modules.Demo.ViewModels
{
    public partial class ViewAViewModel : ViewModelBase, INavigationAware, IRegionMemberLifetime
    {
        [ObservableProperty]
        private string _Header = "Ku工具";
        public bool KeepAlive
        {
            get { return false; }
        }
        public override void OnNavigatedTo(NavigationContext navigationContext)
        {
            var header = navigationContext.Parameters["Header"] as string;
            Header = header;
        }

        public override bool IsNavigationTarget(NavigationContext navigationContext)
        {
            return false;
        }

        public override void OnNavigatedFrom(NavigationContext navigationContext)
        {

        }
    }
}
